package net.sea.setup.config;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlRootElement;

/**
 * 组件节点
 *
 * @author li_zhen
 *
 */
@XmlRootElement(name = "moduleNode")
@XmlAccessorType(XmlAccessType.NONE)
public class ModuleNode {

	@XmlAttribute
	private String id;// 组件ID
	@XmlAttribute
	private String moduleName;// 组件名称
	@XmlAttribute
	private String moduleParent;// 父组件ID
	@XmlAttribute
	private String dbRequired;// 数据库配置是否必需
	@XmlAttribute
	private String cfgRequired;// 配置是否必须
	@XmlAttribute
	private Integer index;// 序号

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getModuleName() {
		return moduleName;
	}

	public void setModuleName(String moduleName) {
		this.moduleName = moduleName;
	}

	public String getModuleParent() {
		return moduleParent;
	}

	public void setModuleParent(String moduleParent) {
		this.moduleParent = moduleParent;
	}

	public String getDbRequired() {
		return dbRequired;
	}

	public void setDbRequired(String dbRequired) {
		this.dbRequired = dbRequired;
	}

	public String getCfgRequired() {
		return cfgRequired;
	}

	public void setCfgRequired(String cfgRequired) {
		this.cfgRequired = cfgRequired;
	}

	public Integer getIndex() {
		return index;
	}

	public void setIndex(Integer index) {
		this.index = index;
	}

}
